/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2023-07-27  19:48
 */
public class Test4 {
    public static void main(String[] args) {
        System.out.println(max(3, 5));
        System.out.println(max(1.2, 1.3, 1.5));
    }

    public static int max(int a, int b) {
        if(a > b) {
            return a;
        }else {
            return b;
        }
    }

    public static double max(double a, double b, double c) {
        double ret = a>b?a:b;
        double ret1 = ret>c?ret:c;
        return ret1;
    }
}
